package com.yl.danmo.domain;


import com.yl.common.core.annotation.Excel;
import com.yl.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图片信息对象 danmo_image
 * 
 * @author yl
 * @date 2025-04-12
 */

@Data
@AllArgsConstructor
@NoArgsConstructor

public class DanmoImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 图片服务器url */
    @Excel(name = "图片服务器url")
    private String url;

    /** 删除状态 1删除 0未删除 */
    @Excel(name = "删除状态 1删除 0未删除")
    private Integer deleteFlag;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("url", getUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
